package com.hqj.entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.lang.Long;
import java.util.Date;
import java.lang.String;
import java.lang.Integer;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/5/16/016
 */
@ApiModel(description = "User",value = "User")
@TableName(value="user")
@Data
public class User implements Serializable{

	@ApiModelProperty(value = "",required = false)
     @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Long id;

	@ApiModelProperty(value = "",required = false)
    @Column(name = "username")
	private String username;

	@ApiModelProperty(value = "头像",required = false)
    @Column(name = "avatar")
	private String avatar;

	@ApiModelProperty(value = "",required = false)
    @Column(name = "password")
	private String password;

	@ApiModelProperty(value = "",required = false)
    @Column(name = "create_by")
	private Date createBy;

	@ApiModelProperty(value = "",required = false)
    @Column(name = "last_login")
	private Date lastLogin;

	@ApiModelProperty(value = "",required = false)
    @Column(name = "status")
	private Integer status;

	@ApiModelProperty(value = "0未注销1已注销",required = false)
    @Column(name = "is_detele")
	private Integer isDetele;






}
